package com.mark.mall.admin.platform.dto.param;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @author admin
 * Created on 2021/1/26 16:38
 */
@Data
@ApiModel("后台登录入参")
public class LoginParam {
    @NotEmpty(message = "用户名不能为空！")
    private String userName;
    @NotEmpty(message = "密码不能为空！")
    private String password;
}
